# $Id: PKGBUILD 58960 2011-11-20 18:10:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>

pkgname=perl-email-abstract
pkgver=3.004
pkgrel=1
pkgdesc="unified interface to mail representations"
arch=('any')
url="http://search.cpan.org/dist/Email-Abstract"
license=('GPL' 'PerlArtistic')
depends=('perl-email-simple>=1.91')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Abstract-$pkgver.tar.gz)
md5sums=('f38a937418d2b3c048457f85949348c0')

build() {
  cd  $srcdir/Email-Abstract-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
